package com.xin.springclouduser.dataobject;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

@Entity
@Data
public class User {
    @Id
    private String userId;

    private String openId;

    private String nickName;

    private String headImage;

    private Date createTime;

    private Date updateTime;

}
